# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-taskmanager
pkgver=1.5.6
pkgrel=0
pkgdesc="A simple taskmanager for the Xfce Desktop Environment"
url="https://goodies.xfce.org/projects/applications/xfce4-taskmanager"
arch="all"
license="GPL-2.0-or-later"
makedepends="libxfce4ui-dev libxmu-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/apps/xfce4-taskmanager/${pkgver%.*}/xfce4-taskmanager-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
49c6222f3dcab4767f356bb71bdb949f3cbb6e04a6969bf0b8757e7448066f3162b4b983c3ccb9b7b72d4d953eae2758c33f1e528b1bf730077171725110d2ff  xfce4-taskmanager-1.5.6.tar.bz2
"
